# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=adwaita-icon-theme
pkgver=46.0
pkgrel=0
pkgdesc="Adwaita icon theme"
url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
arch="noarch"
options="!check"  # Icons only, no binaries.
license="LGPL-3.0-or-later OR CC-BY-SA-3.0"
depends="librsvg"
makedepends="
	gtk+3.0
	icon-naming-utils
	intltool
	meson
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/adwaita-icon-theme/${pkgver%.*}/adwaita-icon-theme-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	# maybe move pkgconfigs to /usr/lib/ for consistency
}

sha512sums="
a497110a0fbbbb0a7a241842a50666f3b9a874be72dfbb462782126d74a3ae98720e749c3912087679fa971707fedfcac00150973e79a3edaf79355255db6e17  adwaita-icon-theme-46.0.tar.xz
"
